package com.woniu.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author tanMax
 * @since 2022-10-12
 */
@Getter
@Setter
  @TableName("k_goods")
@ApiModel(value = "Goods对象", description = "")
public class Goods implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("商品id")
        private String id;

      @ApiModelProperty("商品名称")
      private String name;

      @ApiModelProperty("商品价格")
      private BigDecimal price;

      @ApiModelProperty("商品图片")
      private String image;

      @ApiModelProperty("是否上线：0是上线；1是下线")
      private String status;

      @ApiModelProperty("商品标签")
      private String label;

      @ApiModelProperty("销量")
      private Integer buyNum;

      @ApiModelProperty("类型")
      private String isType;

      @ApiModelProperty("库存")
      private Integer total;

      @ApiModelProperty("分类id")
      private String sortId;

      @ApiModelProperty("简介")
      private String summary;
}
